﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ATM.Entity
{
    public class CaseATM
    {
        /// <summary>
        /// Mã của cây ATM
        /// </summary>
        private int intATMID;
        /// <summary>
        /// Dia chi cua cay ATM
        /// </summary>
        private string strAddress;
        /// <summary>
        /// so tien mat con lai cua cay ATM
        /// </summary>
        private double dblBalance;
        /// <summary>
        /// 0: Ngung hoat dong
        /// 1: het tien
        /// 2: Binh thuong
        /// </summary>
        private int intStatus;

        /// <summary>
        /// Mã của cây ATM
        /// </summary>
        public int IntAtmid
        {
            get { return intATMID; }
            set { intATMID = value; }
        }

        /// <summary>
        /// Dia chi cua cay ATM
        /// </summary>
        public string StrAddress
        {
            get { return strAddress; }
            set { strAddress = value; }
        }

        /// <summary>
        /// so tien mat con lai cua cay ATM
        /// </summary>
        public double DblBalance
        {
            get { return dblBalance; }
            set { dblBalance = value; }
        }

        /// <summary>
        /// 0: Ngung hoat dong
        /// 1: het tien
        /// 2: Binh thuong
        /// </summary>
        public int IntStatus
        {
            get { return intStatus; }
            set { intStatus = value; }
        }
        /// <summary>
        /// Hàm khởi tạo 
        /// </summary>
        public CaseATM()
        {
        }
    }
}
